package net.thxjj.mobileServer.entity;

public class EmailCodeBean {
    private long id;
    private String sessionId;
    private String email;
    private String code;
    private String pid;
    private long createTime;
    private long type;
    private String ip;
    private int status;

    public EmailCodeBean(){

    }


    public EmailCodeBean(long id, String sessionId, String email, String code, String pid, long createTime, long type, String ip, int status) {
        this.id = id;
        this.sessionId = sessionId;
        this.email = email;
        this.code = code;
        this.pid = pid;
        this.createTime = createTime;
        this.type = type;
        this.ip = ip;
        this.status = status;
    }

    public EmailCodeBean(String sessionId, String email, String code, String pid, long createTime, long type, String ip) {
        this.sessionId = sessionId;
        this.email = email;
        this.code = code;
        this.pid = pid;
        this.createTime = createTime;
        this.type = type;
        this.ip = ip;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getType() {
        return type;
    }

    public void setType(long type) {
        this.type = type;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "EmailCodeBean{" +
                "id=" + id +
                ", sessionId='" + sessionId + '\'' +
                ", email='" + email + '\'' +
                ", code='" + code + '\'' +
                ", pid='" + pid + '\'' +
                ", createTime=" + createTime +
                ", type=" + type +
                ", ip='" + ip + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
